import { Layout } from '@fl/utils/routerHelper'

const contractManagement: AppRouteRecordRaw = {

    children: [
        {
            component: () => import('@fl/pages/contract-management/list.vue'),
            meta: {
                breadcrumb: false,
                icon: 'i-icon-park-outline:agreement',
                title: '合同模板',
            },
            name: 'content-center-contract-management-list',
            path: 'contract-management',
        },
        {
            component: () => import('@fl/pages/contract-management/add.vue'),
            meta: {
                activeMenu: '/content-center/contract-management',
                breadcrumb: false,
                hidden: true,
                noTagsView: true,
                title: '合同模板表单-新增',
            },
            name: 'content-center-contract-management-add',
            path: 'contract-management-add',
        },
    ],
    component: Layout,
    meta: {
        icon: 'i-icon-park-outline:agreement',
        title: '合同管理',
    },
    name: 'content-center-contract-management',
    path: 'contract-management',
}

export default contractManagement
